package com.lty.jeeg.server.modules.fas.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.lty.jeeg.server.common.annotation.FieldName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author xuchen
 */
@Data
public class OrderExportEntity extends BaseRowModel implements Serializable {

    private static final long serialVersionUID = -3772478944522313206L;

    /**
     * 明细编号
     */
    @FieldName(value = "明细编号")
    @ExcelProperty(value ={"明细编号"},index = 0)
    private String detailCode;

    /**
     * 主单编号
     */
    @FieldName(value = "主单编号")
    @ExcelProperty(value ={"主单编号"},index = 1)
    private String orderCode;

    /**
     * 需求人
     */
    @FieldName(value = "需求人")
    @ExcelProperty(value ={"需求人"},index = 2)
    private String originatorName;

    /**
     * 需求部门
     */
    @FieldName(value = "需求部门")
    @ExcelProperty(value ={"需求部门"},index = 3)
    private String originatorOfficeName;

    /**
     * 公司
     */
    @FieldName(value = "公司")
    @ExcelProperty(value ={"公司"},index = 4)
    private String companyName;

    /**
     * 商品编码
     */
    @FieldName(value = "商品编码")
    @ExcelProperty(value ={"商品编码"},index = 5)
    private String goodsCode;

    /**
     * 商品名称
     */
    @FieldName(value = "商品名称")
    @ExcelProperty(value ={"商品名称"},index = 6)
    private String goodsName;

    /**
     * 商品分类
     */
    @FieldName(value = "商品分类")
    @ExcelProperty(value ={"商品分类"},index = 7)
    private String categoryName;

    /**
     是否常规物料
     */
    @FieldName(value = "是否常规物料")
    @ExcelProperty(value ={"是否常规物料"},index = 8)
    private String isCommonName;

    /**
     是否耗材
     */
    @FieldName(value = "是否耗材")
    @ExcelProperty(value ={"是否耗材"},index = 9)
    private String isConsumablesName;

    /**
     规格
     */
    @FieldName(value = "规格")
    @ExcelProperty(value ={"规格"},index = 10)
    private String specification;

    /**
     单位
     */
    @FieldName(value = "单位")
    @ExcelProperty(value ={"单位"},index = 11)
    private String unit;


    /**
     * 交付状态
     */
    @FieldName(value = "交付状态")
    @ExcelProperty(value ={"交付状态"},index = 12)
    private String orderDetailType;

    /**
     * 类型
     */
    @FieldName(value = "类型")
    @ExcelProperty(value ={"类型"},index = 13)
    private String demandType;

    /**
     * 需求数量
     */
    @FieldName(value = "需求数量")
    @ExcelProperty(value ={"需求数量"},index = 14)
    private Double detailNum;

    /**
     * 已交付数量
     */
    @FieldName(value = "已交付数量")
    @ExcelProperty(value ={"已交付数量"},index = 15)
    private Double actNum;

    /**
     * 待交付数量
     */
    @FieldName(value = "待交付数量")
    @ExcelProperty(value ={"待交付数量"},index = 16)
    private Double waitNum;

    /**
     * 单价
     */
    @FieldName(value = "单价")
    @ExcelProperty(value ={"单价"},index = 17)
    private Double detailPrice;

    /**
     * 总价
     */
    @FieldName(value = "总价")
    @ExcelProperty(value ={"总价"},index = 18)
    private Double totalPrice;

}
